Browse: 🏠 · Solutions · Connectors · Methods · Tables · Content · Parsers · ASIM Parsers · ASIM Products · 📊
↑ Back to Content Index
This playbook can be run from incident context manually or from automation rule to query the GCP BigQuery table and enrich the incident with results.
Additional Documentation
📄 Source: GCPBigQueryPlaybooks/GCPBigQuery-GetQueryResults/readme.md
GCPBigQuery-GetQueryResults
Summary
This playbook can be run from incident context manually or from automation rule to query the GCP BigQuery table and enrich the incident with query results. The playbook performs following actions:
- Runs the SQL query as Query job and gets the result.
- Parse the result and format as table.
- Add the result as comment to the incident.


Prerequisites
- Prior to the deployment of this playbook, GCPBigQuery Logic App Custom Connector needs to be deployed under the same subscription.
- Refer to GCPBigQuery Logic App Custom Connector documentation for deployment instructions.
Deployment instructions
- To deploy the Playbook, click the Deploy to Azure button. This will launch the ARM Template deployment wizard.
- Fill in the required parameters:
- Playbook Name
- Custom Connector Name
- GCP Project ID
- SQL Query String

Post-Deployment instructions
a. Authorize connections
Once deployment is complete, authorize each connection.
- Select the Microsoft Sentinel connection resource
- Click Edit API connection blade
- Click Authorize/Provide credentials
- Click Save
- Repeat these steps for other connections
b. Configurations in Sentinel
- In Microsoft Sentinel, configure the automation rule/analytical rule to trigger the playbook. Check the documentation to learn more about automation rules.
c. Assign Playbook Microsoft Sentinel Responder Role
- Select the Playbook (Logic App) resource
- Click on Identity Blade
- Choose System assigned tab
- Click on Azure role assignments
- Click on Add role assignments
- Select Scope - Resource group
- Select Subscription - where Playbook has been created
- Select Resource group - where Playbook has been created
- Select Role - Microsoft Sentinel Responder
- Click Save
References
Browse: 🏠 · Solutions · Connectors · Methods · Tables · Content · Parsers · ASIM Parsers · ASIM Products · 📊
↑ Back to Playbooks · Back to Google Cloud Platform BigQuery